package com.waterworld.watch.location.interfaces;

import com.waterworld.watch.common.net.BaseObserverListener;

/**
 * Created by nhuan
 * Time:2019/3/10.
 */

public interface ILocationManager {

    void getLocation(BaseObserverListener baseObserverListener);

    void getLastLocation(BaseObserverListener baseObserverListener);

    void getSecurityFence(Integer pageNum,Integer pageSize,BaseObserverListener baseObserverListener);

    void addSecurityFence(String name,Integer remindWay,Integer fenceRange,String remindTime,String remindDays,String fenceLat,String fenceLng,BaseObserverListener baseObserverListener);

    void updateSecurityFence(Integer id,String name,Integer remindWay,Integer fenceRange,String remindTime,String remindDays,String fenceLat,String fenceLng,BaseObserverListener baseObserverListener);

    void isEnableSecurityFence(Integer id,Boolean isEnable,BaseObserverListener baseObserverListener);

    void deleteSecurityFence(Integer id,BaseObserverListener baseObserverListener);

    void getTrack(String date,BaseObserverListener baseObserverListener);

}
